<template>
    <RouterView />
</template>

<style>
@font-face {
    font-family: "yiqistar";
    src: url("./static/yiqistar.ttf");
}
body,
html {
    padding: 0;
    margin: 0;
    font-family: yiqistar;
}

div {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.link {
    cursor: pointer;
    margin-right: 10px;
    font-size: 16px;
}

code {
    background-color: #f5f2f0;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    word-wrap: normal;
    padding-left: 0.3em;
    padding-right: 0.3em;
    margin-left: 5px;
    margin-right: 5px;
}

div > pre > code {
    font-family:
        Consolas,
        Monaco,
        Andale Mono,
        Ubuntu Mono,
        monospace;
    -webkit-hyphens: none;
    hyphens: none;
    line-height: 1.5;
    margin: 0.5em 0;
    overflow: auto;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    text-align: left;
    text-shadow: 0 1px #fff;
    white-space: pre;
    word-break: normal;
    word-spacing: normal;
    display: block;
    font-size: 14px;
    text-indent: 0;
    padding: 1em;
}

.list {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-column-gap: 22px;
    box-sizing: border-box;
}

.list > div {
    height: 266px;
    box-sizing: border-box;
}

.page {
    margin: 20px auto;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 3200px) {
    .list {
        grid-template-columns: repeat(9, 1fr);
    }
}

@media screen and (max-width: 2880px) {
    .list {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media screen and (max-width: 1600px) {
    .list {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media screen and (max-width: 1280px) {
    .list {
        grid-template-columns: repeat(1, 1fr);
    }
    .list > div {
        height: auto;
    }
}
</style>
